3.186 \(\int (a+b \log (c \sqrt {x}))^p \, dx\)

Optimal. Leaf size=73 \[ \frac {2^{-p} e^{-\frac {2 a}{b}} \left (a+b \log \left (c \sqrt {x}\right )\right )^p \left (-\frac {a+b \log \left (c \sqrt {x}\right )}{b}\right )^{-p} \Gamma \left (p+1,-\frac {2 \left (a+b \log \left (c \sqrt {x}\right )\right )}{b}\right )}{c^2} \]

[Out]

GAMMA(1+p,-2*(a+b*ln(c*x^(1/2)))/b)*(a+b*ln(c*x^(1/2)))^p/(2^p)/c^2/exp(2*a/b)/(((-a-b*ln(c*x^(1/2)))/b)^p)

________________________________________________________________________________________

Rubi [A]  time = 0.04, antiderivative size = 73, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, integrand size = 14, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.143, Rules used = {2299, 2181} \[ \frac {2^{-p} e^{-\frac {2 a}{b}} \left (a+b \log \left (c \sqrt {x}\right )\right )^p \left (-\frac {a+b \log \left (c \sqrt {x}\right )}{b}\right )^{-p} \text {Gamma}\left (p+1,-\frac {2 \left (a+b \log \left (c \sqrt {x}\right )\right )}{b}\right )}{c^2} \]

Antiderivative was successfully verified.

[In]

Int[(a + b*Log[c*Sqrt[x]])^p,x]

[Out]

(Gamma[1 + p, (-2*(a + b*Log[c*Sqrt[x]]))/b]*(a + b*Log[c*Sqrt[x]])^p)/(2^p*c^2*E^((2*a)/b)*(-((a + b*Log[c*Sq
rt[x]])/b))^p)

Rule 2181

Int[(F_)^((g_.)*((e_.) + (f_.)*(x_)))*((c_.) + (d_.)*(x_))^(m_), x_Symbol] :> -Simp[(F^(g*(e - (c*f)/d))*(c +
d*x)^FracPart[m]*Gamma[m + 1, (-((f*g*Log[F])/d))*(c + d*x)])/(d*(-((f*g*Log[F])/d))^(IntPart[m] + 1)*(-((f*g*
Log[F]*(c + d*x))/d))^FracPart[m]), x] /; FreeQ[{F, c, d, e, f, g, m}, x] &&  !IntegerQ[m]

Rule 2299

Int[((a_.) + Log[(c_.)*(x_)^(n_.)]*(b_.))^(p_), x_Symbol] :> Dist[1/(n*c^(1/n)), Subst[Int[E^(x/n)*(a + b*x)^p
, x], x, Log[c*x^n]], x] /; FreeQ[{a, b, c, p}, x] && IntegerQ[1/n]

Rubi steps

\begin {align*} \int \left (a+b \log \left (c \sqrt {x}\right )\right )^p \, dx &=\frac {2 \operatorname {Subst}\left (\int e^{2 x} (a+b x)^p \, dx,x,\log \left (c \sqrt {x}\right )\right )}{c^2}\\ &=\frac {2^{-p} e^{-\frac {2 a}{b}} \Gamma \left (1+p,-\frac {2 \left (a+b \log \left (c \sqrt {x}\right )\right )}{b}\right ) \left (a+b \log \left (c \sqrt {x}\right )\right )^p \left (-\frac {a+b \log \left (c \sqrt {x}\right )}{b}\right )^{-p}}{c^2}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.03, size = 73, normalized size = 1.00 \[ \frac {2^{-p} e^{-\frac {2 a}{b}} \left (a+b \log \left (c \sqrt {x}\right )\right )^p \left (-\frac {a+b \log \left (c \sqrt {x}\right )}{b}\right )^{-p} \Gamma \left (p+1,-\frac {2 \left (a+b \log \left (c \sqrt {x}\right )\right )}{b}\right )}{c^2} \]

Antiderivative was successfully verified.

[In]

Integrate[(a + b*Log[c*Sqrt[x]])^p,x]

[Out]

(Gamma[1 + p, (-2*(a + b*Log[c*Sqrt[x]]))/b]*(a + b*Log[c*Sqrt[x]])^p)/(2^p*c^2*E^((2*a)/b)*(-((a + b*Log[c*Sq
rt[x]])/b))^p)

________________________________________________________________________________________

fricas [F]  time = 0.47, size = 0, normalized size = 0.00 \[ {\rm integral}\left ({\left (b \log \left (c \sqrt {x}\right ) + a\right )}^{p}, x\right ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a+b*log(c*x^(1/2)))^p,x, algorithm="fricas")

[Out]

integral((b*log(c*sqrt(x)) + a)^p, x)

________________________________________________________________________________________

giac [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int {\left (b \log \left (c \sqrt {x}\right ) + a\right )}^{p}\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a+b*log(c*x^(1/2)))^p,x, algorithm="giac")

[Out]

integrate((b*log(c*sqrt(x)) + a)^p, x)

________________________________________________________________________________________

maple [F]  time = 0.04, size = 0, normalized size = 0.00 \[ \int \left (b \ln \left (c \sqrt {x}\right )+a \right )^{p}\, dx \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((b*ln(c*x^(1/2))+a)^p,x)

[Out]

int((b*ln(c*x^(1/2))+a)^p,x)

________________________________________________________________________________________

maxima [A]  time = 0.80, size = 48, normalized size = 0.66 \[ -\frac {2 \, {\left (b \log \left (c \sqrt {x}\right ) + a\right )}^{p + 1} e^{\left (-\frac {2 \, a}{b}\right )} E_{-p}\left (-\frac {2 \, {\left (b \log \left (c \sqrt {x}\right ) + a\right )}}{b}\right )}{b c^{2}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a+b*log(c*x^(1/2)))^p,x, algorithm="maxima")

[Out]

-2*(b*log(c*sqrt(x)) + a)^(p + 1)*e^(-2*a/b)*exp_integral_e(-p, -2*(b*log(c*sqrt(x)) + a)/b)/(b*c^2)

________________________________________________________________________________________

mupad [F]  time = 0.00, size = -1, normalized size = -0.01 \[ \int {\left (a+b\,\ln \left (c\,\sqrt {x}\right )\right )}^p \,d x \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((a + b*log(c*x^(1/2)))^p,x)

[Out]

int((a + b*log(c*x^(1/2)))^p, x)

________________________________________________________________________________________

sympy [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int \left (a + b \log {\left (c \sqrt {x} \right )}\right )^{p}\, dx \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a+b*ln(c*x**(1/2)))**p,x)

[Out]

Integral((a + b*log(c*sqrt(x)))**p, x)

________________________________________________________________________________________